Patch Downloads

The Patch Downloads method enables you to find patch download information, download patches and delete patches by their download ID.

Base URL

        https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads

Supported Requests

Method URL Input Return

DELETE

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads

URL Parameters

 

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/{ID of patch}

URL Parameters

 

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/{ID of patch}/InvariantCulture

 

 

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/{ID of patch}/{culture of patch}

 

 

GET

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads

URL Parameters

PatchDownload[]

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/{ID of patch}

URL Parameters

PatchDownload[]

POST

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/scans/{ID}

 

The operation location URI.

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/{ID}

URL Parameters

 

Input Model

Example with Sample Response

Find patch download information for the first 2 patches for culture en-US

GET Request

https://<consoleFQDN:port>/st/console/api/v1.0/patch/downloads/?count=2&culture=en-US

Sample Response

Copy
{
    "count": 2,
    "links": {
        "next": {
            "href": "https://device-name.example.com:3121/st/console/api/v1.0/patch/downloads?count=2&start=000000ba-0000-0000-0000-000000000000"
        }
    },
    "value": [
        {
            "cultureName": "en-US",
            "downloaded": false,
            "downloadMethod": "Unavailable",
            "links": {
                "self": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/patch/downloads/00000042-0000-0000-0000-000000000000?culture=en-US"
                }
            },
            "patchId": "00000042-0000-0000-0000-000000000000"
        },
        {
            "cultureName": "en-US",
            "downloaded": false,
            "downloadMethod": "Automatic",
            "fileName": "Q274303 _WMP70_Gold_x86_ENU.exe",
            "filePath": "C:\\ProgramData\\LANDESK\\Shavlik Protect\\Console\\Patches\\Q274303 _WMP70_Gold_x86_ENU.exe",
            "fileSize": 267792,
            "links": {
                "self": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/patch/downloads/00000093-0000-0000-0000-000000000000?culture=en-US"
                }
            },
            "patchId": "00000093-0000-0000-0000-000000000000"
        }
    ]
}

Other Request Examples

Output Model